package left42dead;

/**
 * Represents an ammo pack item that the humans can pick up
 */
public class Ammo extends Item
{
    // Ammo count
    private int amount;

    /**
     * Create a pack of ammo with the given amount
     * @param amount Amount of ammo
     */
    public Ammo (int amount)
    {
        this.amount = amount;
    }

    // Accessors and getters
    public void setAmount (int amount)
    {
        this.amount = amount;
    }

    public int getAmount ()
    {
        return amount;
    }
}
